/*
    SUSAN® - Sole of Unix Save ANything

   Copyright (C) 2016-2019 Skyatlas co. ltd

   
*/
#ifndef BAREOS_STORED_SD_STATS_H_
#define BAREOS_STORED_SD_STATS_H_

namespace storagedaemon {

int StartStatisticsThread(void);
void StopStatisticsThread();
void UpdateDeviceTapealert(const char* devname, uint64_t flags, utime_t now);
void UpdateJobStatistics(JobControlRecord* jcr, utime_t now);
bool StatsCmd(JobControlRecord* jcr);

} /* namespace storagedaemon */

#endif  // BAREOS_STORED_SD_STATS_H_
